package m.jclecai.com.bean;

import java.util.List;

/**
 * Created by hp on 2017/3/28.
 */

public class MissDataBean {


    private List<MissDataBean.Codes> codes;

    public List<MissDataBean.Codes> getCodes() {
        return codes;
    }

    public void setCodes(List<MissDataBean.Codes> codes) {
        this.codes = codes;
    }

    public class Codes {
        public void setCode(String code) {
            this.code = code;
        }

        public String getCode() {
            return code;
        }
        public void setIssue(String issue) {
            this.issue = issue;
        }
        public String getIssue() {
            return issue;
        }

        private String code;
        private String issue;
    }


    public void setOmission(Omission omission) {
        this.omission = omission;
    }

    public Omission getOmission() {
        return omission;
    }

    private Omission omission;


    public class Omission {
        public void setBlue(String blue) {
            this.blue = blue;
        }

        public void setRed(String red) {
            this.red = red;
        }

        public String getBlue() {
            return blue;
        }

        public String getRed() {
            return red;
        }

        private String blue;
        private String red;
        private String m0;

        public void setM0(String m0) {
            this.m0 = m0;
        }

        public void setM1(String m1) {
            this.m1 = m1;
        }

        public void setM2(String m2) {
            this.m2 = m2;
        }

        public void setM3(String m3) {
            this.m3 = m3;
        }

        public void setM4(String m4) {
            this.m4 = m4;
        }

        public void setM5(String m5) {
            this.m5 = m5;
        }

        public void setM6(String m6) {
            this.m6 = m6;
        }

        public String getM0() {

            return m0;
        }

        public String getM1() {
            return m1;
        }

        public String getM2() {
            return m2;
        }

        public String getM3() {
            return m3;
        }

        public String getM4() {
            return m4;
        }

        public String getM5() {
            return m5;
        }

        public String getM6() {
            return m6;
        }

        private String m1;
        private String m2;
        private String m3;
        private String m4;
        private String m5;
        private String m6;
        private String m7;
        private String m8;
        private String m9;
        private String m10;

        public void setM7(String m7) {
            this.m7 = m7;
        }

        public void setM8(String m8) {
            this.m8 = m8;
        }

        public void setM9(String m9) {
            this.m9 = m9;
        }

        public void setM10(String m10) {
            this.m10 = m10;
        }

        public String getM7() {

            return m7;
        }

        public String getM8() {
            return m8;
        }

        public String getM9() {
            return m9;
        }

        public String getM10() {
            return m10;
        }



        public String getMByIndex(int index){
            String m = null;
            switch (index){
                case 0:
                    m = m0;
                    break;
                case 1:
                    m = m1;
                    break;
                case 2:
                    m = m2;
                    break;
                case 3:
                    m = m3;
                    break;
                case 4:
                    m = m4;
                    break;
                case 5:
                    m = m5;
                    break;
                case 6:
                    m = m6;
                    break;
                case 7:
                    m = m7;
                    break;
                case 8:
                    m = m8;
                    break;
                case 9:
                    m = m9;
                    break;
                case 10:
                    m = m10;
                    break;
            }
            return m;
        }
    }
}
